@layout("/common/_container.html",{plugins:["table","ztree","layer","sweet-alert","laydate"],js:["/assets/modular/system/activity/activity.js"]}){
<div class="row">
    <div class="col-lg-10 col-sm-9" id="activityManagerPage">
        <div class="row">
            <div class="col-lg-12">
                <div class="card card-outline-theme m-b-10">
                    <div class="card-body">
                        <div class="form-horizontal">
                            <div class="form-body">
                                <div class="row">
                                    <div class="col-md-3">
                                        <div class="form-group">
                                            <label class="col-md-12">开始日期</label>
                                            <div class="col-md-12">
                                                <input v-model="startTime" type="hidden" class="form-control form-control-line" autocomplete="false">
                                                <input id="startTimeDate" type="text" class="form-control" autocomplete="off">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-3">
                                        <div class="form-group">
                                            <label class="col-md-12">结束日期</label>
                                            <div class="col-md-12">
                                                <input v-model="endTime" type="hidden" class="form-control form-control-line" autocomplete="false">
                                                <input id="endTimeDate" type="text" class="form-control" autocomplete="off">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-3">
                                    <div class="input-group condition-button">
                                        <div class="input-group-btn condition-button">
                                            <button type="button" id="check-minutes"
                                                    class="btn btn-info waves-effect waves-light condition-button-width" onclick="activity.search()">查询</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="card card-outline-theme m-b-0">
                    <div class="card-body p-t-0 p-b-0">
                        <div class="form-horizontal">
                            <div class="form-actions">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="card m-b-0 p-b-0">
                                            <div class="hidden-xs" id="carTableToolbar" role="group">
                                                @if(shiro.hasPermission("/activity/add")){
                                                <button type="button" class="btn btn-primary waves-effect" onclick="activity.openAddActivity()">
                                                    <i class="fa fa-plus"></i>&nbsp;添加
                                                </button>
                                                @}
                                                @if(shiro.hasPermission("/activity/edit")){
                                                <button type="button" class="btn btn-primary waves-effect m-l-5" onclick="activity.openEditActivity()">
                                                    <i class="fa fa-edit"></i>&nbsp;修改
                                                </button>
                                                @}
                                                @if(shiro.hasPermission("/activity/delete")){
                                                <button type="button" class="btn btn-primary waves-effect m-l-5" onclick="activity.deleteActivity()">
                                                    <i class="fa fa-remove"></i>&nbsp;删除
                                                </button>
                                                @}
                                            </div>
                                            <#table id="activityTable"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@}
